package com.lipl.base.javase.demo;

import lombok.val;

import java.util.ArrayList;
import java.util.List;

/**
 * @Auther: 15541
 * @Date: 2020/10/29 21:43
 * @Description:
 */
public class test {
    public static void main(String[] args) {

       /* List<User>  userlist =  new ArrayList<User>();
        for (int i = 0; i < 2; i++) {
            User user = new User();
            if(i==0){
                user.setId(1);
                user.setUserName("张三");
            }else{
                user.setId(2);
                user.setUserName("李四");
            }
            userlist.add(user);
        }*/
       User currentUser = new User();
        currentUser.setId(2);
        currentUser.setUserName("李四");
        currentUser.setCityId("1111");
       BaseUtil.setCurrentUserForPublicSer(currentUser);
        System.out.println(currentUser);

    }
}

